<?php
$this->breadcrumbs=array(
	'Events'=>array('index'),
	'View Barcode',
);

$this->menu=array(
	array('label'=>'List All Events', 'url'=>array('index')),
	array('label'=>'Create An Event', 'url'=>array('create')),
	array('label'=>'Manage Events', 'url'=>array('admin')),
);
?>

<h1><?php echo $eventName; ?> Barcode For <?php echo $firstName; ?> <?php echo $lastName; ?></h1>

<?php
    foreach(Yii::app()->user->getFlashes() as $key => $message) {
        echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
    }
?>


<p>
	<img src="<?php echo $qrCodeURL; ?>" border="0" alt="" />
</p>

<p>
<?php
	echo CHtml::beginForm();
	echo CHtml::submitButton("Email Barcode");
	echo CHtml::endForm();	
?>
